<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<h4>Help: date/time string format</h4>

<p>Taken from <a href="http://qt-project.org/doc/qt-4.8/qdatetime.html" alt="Qt documentation, QDateTime">QDateTime Qt documentation</a>.</p>

<p style="-qt-paragraph-type:empty; text-indent:0px;"><br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">These expressions may be used for the date part of the format string:</p>
<table border="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" cellspacing="2" cellpadding="0"><thead>
<tr>
<td>
<p align="center" style=" text-indent:0px;"><span style=" font-weight:600;">Expression</span></p></td>
<td>
<p align="center" style=" text-indent:0px;"><span style=" font-weight:600;">Output</span></p></td></tr></thead>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">d</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the day as number without a leading zero (1 to 31)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">dd</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the day as number with a leading zero (01 to 31)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">ddd</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the abbreviated localized day name (e.g. 'Mon' to 'Sun').</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">dddd</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the long localized day name (e.g. 'Monday' to 'Sunday'). </p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">M</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the month as number without a leading zero (1-12)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">MM</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the month as number with a leading zero (01-12)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">MMM</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the abbreviated localized month name (e.g. 'Jan' to 'Dec').</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">MMMM</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the long localized month name (e.g. 'January' to 'December').</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">yy</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the year as two digit number (00-99)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">yyyy</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the year as four digit number</p></td></tr></table>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Note:</span> Unlike the other version of this function, day and month names must be given in the user's local language. It is only possible to use the English names if the user's language is English.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">These expressions may be used for the time part of the format string:</p>
<table border="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" cellspacing="2" cellpadding="0"><thead>
<tr>
<td>
<p align="center" style=" text-indent:0px;"><span style=" font-weight:600;">Expression</span></p></td>
<td>
<p align="center" style=" text-indent:0px;"><span style=" font-weight:600;">Output</span></p></td></tr></thead>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">h</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">hh</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">H</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the hour without a leading zero (0 to 23, even with AM/PM display)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">HH</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the hour with a leading zero (00 to 23, even with AM/PM display)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">m</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the minute without a leading zero (0 to 59)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">mm</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the minute with a leading zero (00 to 59)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">s</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the second without a leading zero (0 to 59)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">ss</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the second with a leading zero (00 to 59)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">z</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the milliseconds without leading zeroes (0 to 999)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">zzz</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">the milliseconds with leading zeroes (000 to 999)</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">AP or A</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">interpret as an AM/PM time. <span style=" font-style:italic;">AP</span> must be either &quot;AM&quot; or &quot;PM&quot;.</p></td></tr>
<tr>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">ap or a</p></td>
<td style=" vertical-align:top;">
<p style=" text-indent:0px;">Interpret as an AM/PM time. <span style=" font-style:italic;">ap</span> must be either &quot;am&quot; or &quot;pm&quot;.</p></td></tr></table></body></html>
